package com.ssy.lingxi.common.constant.product;

/**
 * 状态
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/29
 */
public enum CommodityStatusEnum {

    Not_Submitted(1, "待提交审核"),
    Not_Check(2, "待审核"),
    Not_Pass(3, "审核不通过"),
    Pass(4, "审核通过"),
    On_Shelf(5, "已上架"),
    Off_Shelf(6, "已下架"),
    NEVER_Shelf(7, "未上架");

    private Integer code;
    private String message;

    CommodityStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
